/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.constant.gui.acciones;

import java.io.File;
import java.util.List;
import javax.swing.DefaultListSelectionModel;
import javax.swing.JTable;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;

/**
 *
 * @author gsierra
 */
public class SeleccionTabla implements ListSelectionListener{
    private final JTable tabla;
    private final List<File> archivos;

    public SeleccionTabla(JTable tabla, List<File> archivos) {
        this.tabla = tabla;
        this.archivos = archivos;
    }


    @Override
    public void valueChanged(ListSelectionEvent e) {
        DefaultListSelectionModel sl = (DefaultListSelectionModel) e.getSource();
        
        System.out.println(e.getSource().getClass().getName());
    }

}
